﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace elr_tracking_bal.PGT
{
    public class POG_Articulo : INotifyPropertyChanged
    {
        private int _ID_POG_ARTICULO;
        private ART.Articulo _ARTICULO;
        private POG_TRASLADO _POG_TRASLADO;  
        private string _CANTIDAD;
        private string _DESCRIPCION;
        private string _COSTO_UNITARIO;
        private string _IVA;
        private CAT.Moneda _MONEDA;
        private float _DESCUENTO;

        public int ID_POG_ARTICULO
        {
            get
            {
                return _ID_POG_ARTICULO;
            }
            set
            {
                if (_ID_POG_ARTICULO != value)
                {
                    _ID_POG_ARTICULO = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("ID_POG_ARTICULO"));
                    }
                }
            }
        }

        public string CANTIDAD
        {
            get
            {
                return _CANTIDAD;
            }
            set
            {
                if (_CANTIDAD != value)
                {
                    _CANTIDAD = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("CANTIDAD"));
                    }
                }
            }
        }

        public string DESCRIPCION
        {
            get
            {
                return _DESCRIPCION;
            }
            set
            {
                if (_DESCRIPCION != value)
                {
                    _DESCRIPCION = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("DESCRIPCION"));
                    }
                }
            }
        }

        public string COSTO_UNITARIO
        {
            get
            {
                return _COSTO_UNITARIO;
            }
            set
            {
                if (_COSTO_UNITARIO != value)
                {
                    _COSTO_UNITARIO = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("COSTO_UNITARIO"));
                    }
                }
            }
        }

        public string IVA
        {
            get
            {
                return _IVA;
            }
            set
            {
                if (_IVA != value)
                {
                    _IVA = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("IVA"));
                    }
                }
            }
        }

        public float DESCUENTO
        {
            get
            {
                return _DESCUENTO;
            }
            set
            {
                if (_DESCUENTO != value)
                {
                    _DESCUENTO = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("DESCUENTO"));
                    }
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
